package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MallUserModel = (*customMallUserModel)(nil)

type (
	// MallUserModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMallUserModel.
	MallUserModel interface {
		mallUserModel
	}

	customMallUserModel struct {
		*defaultMallUserModel
	}
)

// NewMallUserModel returns a model for the database table.
func NewMallUserModel(conn sqlx.SqlConn) MallUserModel {
	return &customMallUserModel{
		defaultMallUserModel: newMallUserModel(conn),
	}
}
